<!--{eval $_TPL['titles'] = array($union['tagname'], $union['title'], '讨论区');}-->
<!--{template header}-->
<!--{template space_union_comp}-->
  <div class="home_content" >
    <div class="home_dynamic_lc">
      <div class="list-tit">
        <ul>
          <li class="cur" value="0"> <a href="space.php?do=union&tagid=$union[tagid]&view=list"><span>联盟动态</span></a></li>
		  <li class="" value="1"> <a href="space.php?do=union&tagid=$union[tagid]&view=member"><span>成员列表</span></a></li>
		  <!--{if $union['allowpost']}-->
		  <li class=""><a href="cp.php?ac=unionthread&tagid=$union[tagid]"><span>发起新话题</span></a></li>
		  <!--{/if}-->
        </ul>
      </div>
	  <div class="H-list">
		<!--{if $list}-->
		<div class="topic_list">
			<table cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<td class="subject">主题</td>
						<!--{if !$union}--><td class="union">联盟</td><!--{/if}-->
						<td class="author">作者 (回应/阅读)</td>
						<td class="lastpost">最后更新</td>
					</tr>
				</thead>
				<tbody>
					<!--{loop $list $key $value}-->
						<!--{eval $magicegg = ""}-->							
						<!--{eval if($value[magicegg]) for($i=0; $i<$value[magicegg]; $i++) $magicegg .= '<img src="image/magic/egg/'.mt_rand(1,6).'.gif" />';}-->
					<tr<!--{if $key%2==1}--> class="alt"<!--{/if}-->>
						<td class="subject">
						<!--{if $value[displayorder]}--> [顶] <!--{/if}-->
						<!--{if $value[digest]}--> [精] <!--{/if}-->
						<!--{if $value[eventid]}--> [活] <!--{/if}-->
						$magicegg
						<a href="space.php?uid=$value[uid]&do=unionthread&id=$value[tid]" <!--{if $value[magiccolor]}--> class="magiccolor$value[magiccolor]"<!--{/if}-->>$value[subject]</a>
						<!--{if $value[hot]}-->
						<br><span class="gray">$value[hot] 人推荐</span>
						<!--{/if}-->
						</td>
						<!--{if !$union}--><td class="union"><a href="space.php?do=union&tagid=$value[tagid]">$value[tagname]</a></td><!--{/if}-->
						<td class="author"><a href="space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a><br><em>$value[replynum]/$value[viewnum]</em></td>
						<td class="lastpost"><a href="space.php?uid=$value[lastauthorid]" title="{$_SN[$value[lastauthorid]]}">{$_SN[$value[lastauthorid]]}</a><br><!--{date('m-d H:i',$value[lastpost],1)}--></td>
					</tr>
					<!--{/loop}-->
				</tbody>
			</table>
		</div>	
		<div class="page">$multi</div>
		<!--{else}-->
		<div class="c_form">还没有相关话题。</div>
		<!--{/if}-->
	  </div>
    </div>
  </div>
<!--{template space_union_right}-->

<!--{template footer}-->
